<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="/css/index.css"/>
</head>
<body>

<p>Hello Spring ! </p>
<h1 th:text="${txe}">Hello World</h1>
<h4 th:text="${execInfo.templateName}">xxx</h4>
<h4 th:text="${execInfo.now.time}">xxx</h4>


<table>
    <thead>
    <tr>
        <th>IMG</th>
        <th>NAME</th>
        <th>PRICE</th>
    </tr>
    </thead>

    <tbody th:remove="all-but-first">
    <tr th:each="goods : ${list}">
        <td><img class="img-goods" th:src="${goods.img}"/></td>
        <td th:text="${goods.name}">Onions</td>
        <td th:text="${goods.price}">2.41</td>
    </tr>

    <tr class="odd">
        <td>Blue Lettuce</td>
        <td>9.55</td>
        <td>no</td>
        <td>
            <span>0</span> comment/s
        </td>
    </tr>
    <tr>
        <td>Mild Cinnamon</td>
        <td>1.99</td>
        <td>yes</td>
        <td>
            <span>3</span> comment/s
            <a href="comments.html">view</a>
        </td>
    </tr>
    </tbody>

</table>

</body>
</html>